package com.bootdo.system.service;

import com.bootdo.system.domain.WhitelistDO;

import java.util.List;
import java.util.Map;

/**
 * ip、mac地址白名单
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2020-03-26 13:44:07
 */
public interface WhitelistService {
	
	WhitelistDO get(Long id);
	
	List<WhitelistDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(WhitelistDO whitelist);
	
	int update(WhitelistDO whitelist);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
}
